package org.example.Model;

public abstract class Bird {
    protected FlyBehaviour flyBehaviour;
    protected SwimBehaviour swimBehaviour;
    public void setFlyBehaviour(FlyBehaviour flyBehaviour) {
        this.flyBehaviour = flyBehaviour;
    }
    public void setSwimBehaviour(SwimBehaviour swimBehaviour) {
        this.swimBehaviour = swimBehaviour;
    }
    public void display() {
    }
    public void fly() {
    }
    public void swim() {
    }


}